VERSION 5.00
Begin VB.Form frmContacts 
   Caption         =   "Form1"
   ClientHeight    =   8310
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   11985
   LinkTopic       =   "Form1"
   ScaleHeight     =   8310
   ScaleWidth      =   11985
   StartUpPosition =   3  'Windows Default
   Begin ContactListDebug.ContactList ContactList1 
      Height          =   6375
      Left            =   2040
      TabIndex        =   0
      Top             =   840
      Width           =   3615
      _ExtentX        =   6376
      _ExtentY        =   11245
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      SkinColour      =   1
   End
End
Attribute VB_Name = "frmContacts"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim MouseButton As Integer

Private Sub ContactList1_DblClick()
    If MouseButton = vbLeftButton And ContactList1.Selected > 0 Then
        MsgBox ContactList1
    End If
End Sub

Private Sub ContactList1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
    MouseButton = Button
    If Button = vbRightButton Then
        
    End If
End Sub

Private Sub Form_Load()
    Me.Show
    
    ContactList1.ActivateMouse Me.hWnd

    ContactList1.AddParent "Online"
    ContactList1.AddParent "Offline"

    ContactList1.Add "Robin - I Love you Laura <3", "robin@openmsn.org", "NLN", 0
    ContactList1.Add "Laura", "laura@openmsn.org", "NLN", 0, "<3 Robin"
    
    ContactList1.Add "Bendy", "bendy@openmsn.org", "FLN", 1
    ContactList1.Add "Robin - I Love you Laura <3", "robin@openmsn.org", "NLN", 0
    ContactList1.Add "Laura", "laura@openmsn.org", "NLN", 0, "<3 Robin"
    
    ContactList1.Add "Bendy", "bendy@openmsn.org", "FLN", 1
    ContactList1.Add "Robin - I Love you Laura <3", "robin@openmsn.org", "NLN", 0
    ContactList1.Add "Laura", "laura@openmsn.org", "NLN", 0, "<3 Robin"
    
    ContactList1.Add "Bendy", "bendy@openmsn.org", "FLN", 1
    ContactList1.Add "Robin - I Love you Laura <3", "robin@openmsn.org", "NLN", 0
    ContactList1.Add "Laura", "laura@openmsn.org", "NLN", 0, "<3 Robin"
    
    ContactList1.Add "Bendy", "bendy@openmsn.org", "FLN", 1
    ContactList1.Add "Robin - I Love you Laura <3", "robin@openmsn.org", "NLN", 0
    ContactList1.Add "Laura", "laura@openmsn.org", "NLN", 0, "<3 Robin"
    
    ContactList1.Add "Bendy", "bendy@openmsn.org", "FLN", 1
    ContactList1.Add "Robin - I Love you Laura <3", "robin@openmsn.org", "NLN", 0
    ContactList1.Add "Laura", "laura@openmsn.org", "NLN", 0, "<3 Robin"
    
    ContactList1.Add "Bendy", "bendy@openmsn.org", "FLN", 1
    ContactList1.Add "Robin - I Love you Laura <3", "robin@openmsn.org", "NLN", 0
    ContactList1.Add "Laura", "laura@openmsn.org", "NLN", 0, "<3 Robin"
    
    ContactList1.Add "Bendy", "bendy@openmsn.org", "FLN", 1
    ContactList1.Add "Robin - I Love you Laura <3", "robin@openmsn.org", "NLN", 0
    ContactList1.Add "Laura", "laura@openmsn.org", "NLN", 0, "<3 Robin"
    
    ContactList1.Add "Bendy", "bendy@openmsn.org", "FLN", 1
    ContactList1.Add "Robin - I Love you Laura <3", "robin@openmsn.org", "NLN", 0
    ContactList1.Add "Laura", "laura@openmsn.org", "NLN", 0, "<3 Robin"
    
    ContactList1.Add "Bendy", "bendy@openmsn.org", "FLN", 1
    ContactList1.Add "Robin - I Love you Laura <3", "robin@openmsn.org", "NLN", 0
    ContactList1.Add "Laura", "laura@openmsn.org", "NLN", 0, "<3 Robin"
    
    ContactList1.Add "Bendy", "bendy@openmsn.org", "FLN", 1
    ContactList1.Add "Robin - I Love you Laura <3", "robin@openmsn.org", "NLN", 0
    ContactList1.Add "Laura", "laura@openmsn.org", "NLN", 0, "<3 Robin"
    
    ContactList1.Add "Bendy", "bendy@openmsn.org", "FLN", 1
    
End Sub

Private Sub Form_Resize()
    ContactList1.Move 0, 0, Me.ScaleWidth, Me.ScaleHeight
End Sub
